Log System ELK usage (4) -- kibana installation and use, elk -- kibanaOverview
Log System ELK usage (1)-How to UseLog System ELK usage (2)-Logstash Installation and UseLog System ELK usage (III)-elasticsearch InstallationLog System ELK usage (4)-kibana Installation and UseLog System ELK usage (5)-Supplement
This is the last article in this small series. We will see how to install
Kibana is a WEB interface that provides data analysis for ElasticSearch. It can be used to efficiently search, visualize and analyze logs. Kibana the latest version of 5.0.2, review the Kibana 3 and Kibana 4 interface.The following figure shows the
Kibana is an open source analytics and visualization platform designed to work with Elasticsearch.
You use Kibana to search, view, and interact with the data stored in the Elasticsearch index.
You can easily perform advanced data analysis and visualize data in a variety of icons, tables, and maps.
Kibana makes it easy to understand large amounts of data. Its simp
index pattern named ' ba* '.
The Logstash data set does contain time-series data, so after clicking Add New to define the index for this data set, make Sure the Index contains time-based events box is checked and select the @timestamp field from the Time-field name drop-do Wn.
The Logstash dataset contains the data for the time series, so after clicking ' Add New ' to define the index for the dataset, make sure that the ' Index contains time-based events ' column is closed from ' Time-field nam
functionality into an easy to install package.
3. In the ES installs x-pack,es to deactivate the state to execute
Under the ES directory
./bin/elasticsearch-plugin Install X-pack
You can see the additional permissions required for a plug-in during installation: Re-request:
Confirm that you want to grant X-pack additional permissions. X-pack requires these permissions to set the threat context loader during the installation process so that watch
path variable is added. After the installation is complete, check: 3.head installation Download Elasticsearch-head : Https://github.com/mobz/elasticsearch-head, unzip after download. Modify Head Source Catalog: C:\elasticsearch-head-master\Gruntfile.js: Find the Connect property below and add hostname: ' * ': 4. Modify the Elasticsearch configuration file To edit C:\elasticsearch-5.5.1\config\config\elasticsearch.yml, add the following: Http.co
/configuration/config. js/2** === Parameters*/Return new Settings ({Elasticsearch: "http: // 10.128.170.245: 9200 ",....
Use
You can easily open http: // localhost: 8080/kibana. The previous section contains almost the most frequently-typed characters except "hello world :).
As shown in the preceding figure, you only need to pay attention to the lower left corner of the right panel: Sample Dashboard, Unconfigured Dashboard, and Blank Dashboard. Sampl
, sorting and statistics and the large number of machines still use such a method is a little too hard.
Open source real-time log analysis Elk platform can perfectly solve our problems above, elk by Elasticsearch, Logstash and Kiabana three open source tools. Official website: https://www.elastic.co/products
Elasticsearch is an open source distributed search engine, it features: distributed, 0 configuration, automatic discovery, Index auto-shard, index copy mechanism, RESTful style interface, mu
source, distributed, restful search engine built on Lucene. Designed for cloud computing, it can achieve real-time search, stable, reliable, fast, easy to install and use.Elasticsearch 1.4.2:http://www.elasticsearch.org/download/2 , Logstash: is a fully open source tool that collects, analyzes, and stores your logs for later use (e.g., search), which you can use. When it comes to search, Logstash comes with a web interface that searches and displays all logs.logstash-1.4.2.tar.gzhttp://www.elas
In linux, The ElasticSearch.6.2.1 and head, Kibana, X-Pack, SQL, IK, and PINYIN plug-ins are configured and installed,1. Install elasticsearch-head1.1 directly using command Installation Error
elasticsearch-6.2.0\bin>elasticsearch-plugin install elasticsearch-headA tool for managing installed elasticsearch pluginsCommands--------list - Lists installed elasticsearch pluginsinstall - Install a pluginremove - removes a plugin from ElasticsearchNon-option
submitted to logstash indexer and avoid data loss caused by sudden power outages.
Elasticsearch: an open-source search engine framework that provides a distributed full-text search engine with multi-user capabilities, based on restful web interfaces. You can also perform multiple data clusters to improve efficiency. The purpose here is to read data from redis and forward it to kibana.
Kibana: displays the
input URL 192.168.135.129:5601 can not access, shut down the firewall is not, need to set up/etc/kibana/kibana.yml. Let's release some configuration and modify some configurations as followsThen landing outside the network, more refresh several times, the main network of Bo slow, enter the URL http://192.168.135.129:5601Ok!Final installation LogstashCreating a configuration fileThe content format has the following main input, filter and output three
I. Environmental preparedness
Role
SERVER IP
Logstash Agent
10.1.11.31
Logstash Agent
10.1.11.35
Logstash Agent
10.1.11.36
Logstash Central
10.1.11.13
Elasticsearch
10.1.11.13
Redis
10.1.11.13
Kibana
10.1.11.13
The architecture diagram is as follows:650) this.width=650; "src=" Http:
Logstash + Kibana log system deployment configuration
Logstash is a tool for receiving, processing, and forwarding logs. Supports system logs, webserver logs, error logs, and application logs. In short, it includes all types of logs that can be flushed.
Typical use cases (ELK ):
Elasticsearch is used as the storage of background data, and kibana is used for front-end report presentation. Logstash acts as a
communication between the machine learning process and elasticsearch is limited to operating system users.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: plugin forks a native controller @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@This plugin launches a native controller that is not subject to the Javasecurity manager nor to system call filters.Continue with installation? [y/N]y
Note: x-pack does not support linux-x86, an error will be report
simple
Curl-l http://toolbelt.treasure-data.com/sh/install-redhat.sh | Sh
After the installation is complete, edit the configuration file
# vim/etc/td-agent/td-agent.conf
Start the FLUENTD service
# service Td-agent Start
III. installation and Deployment Kibana 3
Kibana 3 is a Web UI front-end tool developed us
"title=" 1.png " alt= "Wkiol1xnkrmqxxlcaaesfim6sk8002.jpg"/>Then on the 140 end you can see:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/62/wKioL1XNk4bxLPYhAAJ_CHFHCws783.jpg "title=" 1.png " alt= "Wkiol1xnk4bxlpyhaaj_chfhcws783.jpg"/>The focus is to visit the final page of http://192.168.1.140/kibana/index.html acceptance650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/71/62/wKioL1XNk_DzfOBVAAUMo7CPb94248.jpg "title=" 1.pn
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.